projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e01515
)
[macintosh]: Set KBD_BUFFER_SIZE to a smaller value
author
Richard M. Stallman
<rms@gnu.org>
Fri, 3 Sep 1999 18:48:46 +0000
(18:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 3 Sep 1999 18:48:46 +0000
(18:48 +0000)
(512) because Mac compilers limit local data of a function to 32K.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index a50322f42560d432ca961dd9c93544b2d93d4714..93feb45ca881d2432ecdde23bb36dd1c8fcfba99 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-84,7
+84,12
@@
extern int input_fd;
#ifdef HAVE_WINDOW_SYSTEM
/* Make all keyboard buffers much bigger when using X windows. */
+#ifdef macintosh
+/* But not too big (local data > 32K error) if on macintosh */
+#define KBD_BUFFER_SIZE 512
+#else
#define KBD_BUFFER_SIZE 4096
+#endif
#else /* No X-windows, character input */
#define KBD_BUFFER_SIZE 256
#endif /* No X-windows */